home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmAddProtocols.z / XmAddProtocols
Encoding:
Text File  |  2003-11-18  |  3.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_A_d_d_P_r_o_t_o_c_o_l_s - A VendorShell function that adds the
  10.       protocols to the protocol manager and    allocates the internal
  11.       tables
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Xm.h>
  15.       #include <Xm/Protocols.h>
  16.  
  17.       void XmAddProtocols (sssshhhheeeellllllll,,,, pppprrrrooooppppeeeerrrrttttyyyy,,,,    pppprrrroooottttooooccccoooollllssss,,,, nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss)
  18.            _W_i_d_g_e_t     sssshhhheeeellllllll;
  19.            _A_t_o_m     pppprrrrooooppppeeeerrrrttttyyyy;
  20.            _A_t_o_m     **** pppprrrroooottttooooccccoooollllssss;
  21.            _C_a_r_d_i_n_a_l     nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss;
  22.  
  23.       _v_o_i_d _X_m_A_d_d_W_M_P_r_o_t_o_c_o_l_s    (sssshhhheeeellllllll,,,,    pppprrrroooottttooooccccoooollllssss,,,, nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss)
  24.            _W_i_d_g_e_t     sssshhhheeeellllllll;
  25.            _A_t_o_m     **** pppprrrroooottttooooccccoooollllssss;
  26.            _C_a_r_d_i_n_a_l     nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss;
  27.  
  28.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.       _X_m_A_d_d_P_r_o_t_o_c_o_l_s adds the protocols to the protocol manager
  30.       and allocates    the internal tables.
  31.  
  32.       _X_m_A_d_d_W_M_P_r_o_t_o_c_o_l_s is a    convenience interface.    It calls
  33.       _X_m_A_d_d_P_r_o_t_o_c_o_l_s with the property value set to    the atom
  34.       returned by interning    _W_M__P_R_O_T_O_C_O_L_S.
  35.  
  36.       sssshhhheeeellllllll
  37.            Specifies the widget with which the protocol property
  38.            is associated.
  39.  
  40.       pppprrrrooooppppeeeerrrrttttyyyy
  41.            Specifies the protocol property.
  42.  
  43.       pppprrrroooottttooooccccoooollllssss
  44.            Specifies the protocol _A_t_o_m_s (or    _i_n_t types cast to
  45.            _A_t_o_m).
  46.  
  47.       nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss
  48.            Specifies the number of elements    in pppprrrroooottttooooccccoooollllssss.
  49.  
  50.       For a    complete definition of VendorShell and its associated
  51.       resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
  52.  
  53.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  54.       _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_A_d_d_W_M_P_r_o_t_o_c_o_l_s(_3_X), and _X_m_I_n_t_e_r_n_A_t_o_m(_3_X).
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.